* keyboard.c (read_char): New arg END_TIME specifying timeout.
authorChong Yidong <cyd@stupidchicken.com>
Wed, 26 Jul 2006 18:16:32 +0000 (18:16 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 26 Jul 2006 18:16:32 +0000 (18:16 +0000)
commit9d3e2c835328f9a7e20daf5aa7b6ad8e0e855458
tree738db8cf8bfeef63a7e559c48edee241d429f658
parentb5105d107fbc550d186c658c12ea752d18ad71ea
* keyboard.c (read_char): New arg END_TIME specifying timeout.
All callers changed.  Turn off echoing if END_TIME is non-NULL.
(kbd_buffer_get_event): New arg END_TIME.

* lread.c (read_filtered_event): New arg SECONDS to wait until.
(Fread_char, Fread_event, Fread_char_exclusive): New arg SECONDS.

* lisp.h: Update read-char, read-event, and read_filtered_event
prototypes.

* keyboard.h: Include systime.h.  Update read_char prototype.
src/ChangeLog